let navigate = null

export const setNavigate = (nav) => {
  navigate = nav
}

export const getNavigate = () => navigate